#!/bin/sh
#
# git部署代码
# An example hook script to prepare a packed repository for use over
# dumb transports.

echo
echo "===========        update app        ==========="
unset GIT_DIR
this_repo=/repo/dir

app_path=/app/path
cd $app_path || exit
git pull || exit
echo "=========== update app success ==========="
echo
